package com.zircloud.user.provider.handler;

import javax.annotation.Resource;

import org.apache.dubbo.config.annotation.DubboService;

import com.zircloud.user.api.UserServiceApi;
import com.zircloud.user.dto.UserDto;
import com.zircloud.user.service.UserService;

/**
 * 
 * @author test
 *
 */
@DubboService(version = "1.0.0")
public class UserServiceHandler implements UserServiceApi {
	
	@Resource
	private UserService userService;

	@Override
	public UserDto getUserById(Integer id) {
		return userService.getUserById(id);
	}

}
